home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / utility / 406 / utility2 / virus.doc < prev    next >
Text File  |  1989-08-18  |  2KB  |  59 lines

  1. A little bit about Boot sectors
  2. -------------------------------
  3.  
  4.     The "first" sector on a disk
  5. ie Side 0, Track 0, Sector 1 is called
  6. the boot sector. In addition to holding
  7. information, pertaining to the format of
  8. the disk, it can also contain an, albeit
  9. short, machine code program. This
  10. feature was really intended to allow
  11. new operating systems to be booted,
  12. automatically, from disk. ie the short
  13. "boot" program would load the operating
  14. system into memory and then execute it
  15. (as happened in early "TOS on disk"
  16. STs). Unfortunately you can put any
  17. program (providing it is small enough)
  18. onto a boot sector and have the ST
  19. execute it on boot up. This includes
  20. Viruses.
  21.  
  22. Viruses
  23. -------
  24.     These are just programs that
  25. are placed on the boot sector of a disk
  26. (by certain unscrupulous persons)
  27. which, upon execution, hide themselves
  28. away in some portion of memory and 
  29. "wedge" themselves into the operating
  30. system.
  31.     Whenever a new disk is placed
  32. into the drive the ST has to read it's
  33. boot sector, so that it "knows" how the
  34. disk is formatted. This is when the
  35. virus multiplies. The virus takes over
  36. this routine, in the operating system,
  37. and in addition to reading in the boot
  38. sector it also writes the boot sector
  39. back to the disk with a copy of the
  40. virus on it. This will happen to all
  41. disks inserted into the ST's drive when
  42. the virus is in memory. And of course
  43. if you boot up with any of these
  44. "infected" disks, the virus will place
  45. itself in memory ready to "infect" more
  46. disks.
  47.     Turning off the power will
  48. clear any virus from memory. But of
  49. course when the ST then re-boots you
  50. must have a non-infected disk in the
  51. drive or else the virus will just
  52. install itself again. Resetting your
  53. ST is not gauranteed to clear viruses.
  54. It is possible for a virus to survive
  55. a reset. However of several ST viruses
  56. I have seen, none of them survive a
  57. reset. A future virus could be written
  58. which does just that!
  59.